<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>设置颜色和背景色</title>
</head>

<body>
    <h1 style="background-color:DodgerBlue;">Hello World</h1>

    <p style="background-color:Tomato;">
        Shanghai is one of the four direct-administered municipalities of the People's Republic of China. Welcome to
        Shanghai!
        The city is located on the southern estuary of the Yangtze, with the Huangpu River flowing through it.
    </p>
</body>

</html>